import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/views/pages/home/home.vue'
import City from '@/views/pages/city/City.vue'
import Info from '@/views/Info.vue'
import About from '@/views/about.vue'

Vue.use(Router)

export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes: [{
      path: '/',
      name: 'Home',
      component: Home
    },{
      path:'/city',
      name:'City',
      component:City
    },{
      path:'/info',
      name:'Info',
      component:Info
    },{
      path:'/about',
      name:'about',
      component:About
    }
  ]
})
